home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Universal / Interfaces / PInterfaces / FileTransferTools.p < prev    next >
Encoding:
Text File  |  1997-08-12  |  2.4 KB  |  116 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        FileTransferTools.p
  3.  
  4.      Contains:    CommToolbox File Transfer Tools Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.0.1
  8.  
  9.      Copyright:    © 1988-1997 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        Please include the the file and version information (from above) with
  12.                  the problem description.  Developers belonging to one of the Apple
  13.                  developer programs can submit bug reports to:
  14.  
  15.                      devsupport@apple.com
  16.  
  17. }
  18. {$IFC UNDEFINED UsingIncludes}
  19. {$SETC UsingIncludes := 0}
  20. {$ENDC}
  21.  
  22. {$IFC NOT UsingIncludes}
  23.  UNIT FileTransferTools;
  24.  INTERFACE
  25. {$ENDC}
  26.  
  27. {$IFC UNDEFINED __FILETRANSFERTOOLS__}
  28. {$SETC __FILETRANSFERTOOLS__ := 1}
  29.  
  30. {$I+}
  31. {$SETC FileTransferToolsIncludes := UsingIncludes}
  32. {$SETC UsingIncludes := 1}
  33.  
  34. {$IFC UNDEFINED __CONDITIONALMACROS__}
  35. {$I ConditionalMacros.p}
  36. {$ENDC}
  37. {$IFC UNDEFINED __DIALOGS__}
  38. {$I Dialogs.p}
  39. {$ENDC}
  40. {$IFC UNDEFINED __FILETRANSFERS__}
  41. {$I FileTransfers.p}
  42. {$ENDC}
  43.  
  44.  
  45. {$PUSH}
  46. {$ALIGN MAC68K}
  47. {$LibExport+}
  48.  
  49.  
  50. CONST
  51.                                                                 {  DEFs  }
  52.     fdefType                    = 'fdef';
  53.     fsetType                    = 'fset';
  54.     fvalType                    = 'fval';
  55.     flocType                    = 'floc';
  56.     fscrType                    = 'fscr';
  57.     fbndType                    = 'fbnd';
  58.     fverType                    = 'vers';
  59.  
  60.                                                                 {  control  }
  61.     ftInitMsg                    = 0;
  62.     ftDisposeMsg                = 1;
  63.     ftSuspendMsg                = 2;
  64.     ftResumeMsg                    = 3;
  65.     ftMenuMsg                    = 4;
  66.     ftEventMsg                    = 5;
  67.     ftActivateMsg                = 6;
  68.     ftDeactivateMsg                = 7;
  69.     ftGetErrorStringMsg            = 8;
  70.     ftAbortMsg                    = 52;
  71.     ftStartMsg                    = 100;
  72.     ftExecMsg                    = 102;
  73.     ftSendMsg                    = 103;
  74.     ftReceiveMsg                = 104;
  75.  
  76.                                                                 {  setup  }
  77.     ftSpreflightMsg                = 0;
  78.     ftSsetupMsg                    = 1;
  79.     ftSitemMsg                    = 2;
  80.     ftSfilterMsg                = 3;
  81.     ftScleanupMsg                = 4;
  82.  
  83.                                                                 {  validate  }
  84.     ftValidateMsg                = 0;
  85.     ftDefaultMsg                = 1;
  86.  
  87.                                                                 {  scripting  }
  88.     ftMgetMsg                    = 0;
  89.     ftMsetMsg                    = 1;
  90.  
  91.                                                                 {  localization  }
  92.     ftL2English                    = 0;
  93.     ftL2Intl                    = 1;
  94.  
  95.  
  96. TYPE
  97.     FTSetupStructPtr = ^FTSetupStruct;
  98.     FTSetupStruct = RECORD
  99.         theDialog:                DialogPtr;                                {  the dialog form the application  }
  100.         count:                    INTEGER;                                {  first appended item  }
  101.         theConfig:                Ptr;                                    {  the config record to setup  }
  102.         procID:                    INTEGER;                                {  procID of the tool  }
  103.     END;
  104.  
  105.     FTSetupPtr                            = ^FTSetupStruct;
  106. {$ALIGN RESET}
  107. {$POP}
  108.  
  109. {$SETC UsingIncludes := FileTransferToolsIncludes}
  110.  
  111. {$ENDC} {__FILETRANSFERTOOLS__}
  112.  
  113. {$IFC NOT UsingIncludes}
  114.  END.
  115. {$ENDC}
  116.